package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 服务管理表
 * </p>
 *
 * @author xiaotang
 * @since 2022-10-18
 */
@Getter
@Setter
@TableName("tb_services")
@ApiModel(value = "Services对象", description = "服务管理表")
public class Services implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键自增")
      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("用户id")
      private Long userId;

      @ApiModelProperty("服务状态id")
      private Long serviceStatusId;

      @ApiModelProperty("预约时间")
      private Date appointmentTime;

      @ApiModelProperty("提交时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date submitTime;

      @ApiModelProperty("服务备注")
      private String remarks;

      @ApiModelProperty("驳回原因")
      private String reject;

      @ApiModelProperty("服务医生id")
      private Long doctorId;

      @ApiModelProperty("服务项目id")
      private Long itemId;

      @ApiModelProperty("服务地点（0：签约人家里，1：机构门诊）")
      private String serviceAddress;

      @ApiModelProperty("服务来源（0：居民申请，1：机构申请）")
      private String serviceSource;
}
